﻿Namespace Localization
    <System.Windows.Markup.MarkupExtensionReturnType(GetType(System.Globalization.CultureInfo))> _
    Public Class CurrentCultureExtension
        Inherits System.Windows.Markup.MarkupExtension

        Public Overrides Function ProvideValue(ByVal serviceProvider As System.IServiceProvider) As Object
            Return System.Globalization.CultureInfo.CurrentCulture
        End Function
    End Class
End Namespace
